package com.jdew.thkj.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yangzai on 2018/4/11 0011.
 */

public class CatesBean implements Serializable {

    /**
     * success : true
     * message : 成功s
     * data : {"code":200,"msg":"数据获取成功","api_version":"v1","api_name":"/api/v1/search","total":6682,"data":[{"goods_id":"562990489163","goods_pic":"https://img.alicdn.com/imgextra/i4/1814833040/TB2V9zkXRsmBKNjSZFsXXaXSVXa_!!1814833040.jpg","goods_long_pic":"http://acdn.taokezhushou.com/taokezhushou-long-pic/a8e4a740e9335d9b16f9e9a80e37e660.jpg","goods_title":"妒季2018春装新贴布宽松牛仔短外套ins女破洞系带港风上衣学生潮","goods_short_title":"妒季2018春装新贴布宽松牛仔短外套","goods_intro":"妒季2018春装新贴布宽松牛仔短外套，ins女破洞系带港风上衣学生潮，全棉透气面料，色牢度佳，肌理清晰，时尚百搭，引领潮流","goods_cate_id":"1","goods_price":"108.0","goods_sale_num":"282","commission_rate":"26.51","seller_id":"3526531259","coupon_id":"c8a3b9ae90714078b0f985dca0bb2f2c","coupon_apply_amount":"69.0","coupon_amount":"20.0","coupon_start_time":"2018-04-09 12:00:00","coupon_end_time":"2018-04-16 11:59:59","is_tmall":"1","juhuasuan":"0","taoqianggou":"0","yunfeixian":"1","jinpai":"0","jiyoujia":"0","haitao":"0","dsr":"4.9"}]}
     * code : 0
     */

    private boolean success;
    private String message;
    private DataBeanX data;
    private String code;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public static class DataBeanX implements Serializable{
        /**
         * code : 200
         * msg : 数据获取成功
         * api_version : v1
         * api_name : /api/v1/search
         * total : 6682
         * data : [{"goods_id":"562990489163","goods_pic":"https://img.alicdn.com/imgextra/i4/1814833040/TB2V9zkXRsmBKNjSZFsXXaXSVXa_!!1814833040.jpg","goods_long_pic":"http://acdn.taokezhushou.com/taokezhushou-long-pic/a8e4a740e9335d9b16f9e9a80e37e660.jpg","goods_title":"妒季2018春装新贴布宽松牛仔短外套ins女破洞系带港风上衣学生潮","goods_short_title":"妒季2018春装新贴布宽松牛仔短外套","goods_intro":"妒季2018春装新贴布宽松牛仔短外套，ins女破洞系带港风上衣学生潮，全棉透气面料，色牢度佳，肌理清晰，时尚百搭，引领潮流","goods_cate_id":"1","goods_price":"108.0","goods_sale_num":"282","commission_rate":"26.51","seller_id":"3526531259","coupon_id":"c8a3b9ae90714078b0f985dca0bb2f2c","coupon_apply_amount":"69.0","coupon_amount":"20.0","coupon_start_time":"2018-04-09 12:00:00","coupon_end_time":"2018-04-16 11:59:59","is_tmall":"1","juhuasuan":"0","taoqianggou":"0","yunfeixian":"1","jinpai":"0","jiyoujia":"0","haitao":"0","dsr":"4.9"}]
         */

        private int code;
        private String msg;
        private String api_version;
        private String api_name;
        private int total;
        private List<DataBean> data;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getApi_version() {
            return api_version;
        }

        public void setApi_version(String api_version) {
            this.api_version = api_version;
        }

        public String getApi_name() {
            return api_name;
        }

        public void setApi_name(String api_name) {
            this.api_name = api_name;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean implements Serializable{
            /**
             * goods_id : 562990489163
             * goods_pic : https://img.alicdn.com/imgextra/i4/1814833040/TB2V9zkXRsmBKNjSZFsXXaXSVXa_!!1814833040.jpg
             * goods_long_pic : http://acdn.taokezhushou.com/taokezhushou-long-pic/a8e4a740e9335d9b16f9e9a80e37e660.jpg
             * goods_title : 妒季2018春装新贴布宽松牛仔短外套ins女破洞系带港风上衣学生潮
             * goods_short_title : 妒季2018春装新贴布宽松牛仔短外套
             * goods_intro : 妒季2018春装新贴布宽松牛仔短外套，ins女破洞系带港风上衣学生潮，全棉透气面料，色牢度佳，肌理清晰，时尚百搭，引领潮流
             * goods_cate_id : 1
             * goods_price : 108.0
             * goods_sale_num : 282
             * commission_rate : 26.51
             * seller_id : 3526531259
             * coupon_id : c8a3b9ae90714078b0f985dca0bb2f2c
             * coupon_apply_amount : 69.0
             * coupon_amount : 20.0
             * coupon_start_time : 2018-04-09 12:00:00
             * coupon_end_time : 2018-04-16 11:59:59
             * is_tmall : 1
             * juhuasuan : 0
             * taoqianggou : 0
             * yunfeixian : 1
             * jinpai : 0
             * jiyoujia : 0
             * haitao : 0
             * dsr : 4.9
             */

            private String goods_id;
            private String goods_pic;
            private String goods_long_pic;
            private String goods_title;
            private String goods_short_title;
            private String goods_intro;
            private String goods_cate_id;
            private String goods_price;
            private String goods_sale_num;
            private String commission_rate;
            private String seller_id;
            private String coupon_id;
            private String coupon_apply_amount;
            private String coupon_amount;
            private String coupon_start_time;
            private String coupon_end_time;
            private String is_tmall;
            private String juhuasuan;
            private String taoqianggou;
            private String yunfeixian;
            private String jinpai;
            private String jiyoujia;
            private String haitao;
            private String dsr;

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getGoods_pic() {
                return goods_pic;
            }

            public void setGoods_pic(String goods_pic) {
                this.goods_pic = goods_pic;
            }

            public String getGoods_long_pic() {
                return goods_long_pic;
            }

            public void setGoods_long_pic(String goods_long_pic) {
                this.goods_long_pic = goods_long_pic;
            }

            public String getGoods_title() {
                return goods_title;
            }

            public void setGoods_title(String goods_title) {
                this.goods_title = goods_title;
            }

            public String getGoods_short_title() {
                return goods_short_title;
            }

            public void setGoods_short_title(String goods_short_title) {
                this.goods_short_title = goods_short_title;
            }

            public String getGoods_intro() {
                return goods_intro;
            }

            public void setGoods_intro(String goods_intro) {
                this.goods_intro = goods_intro;
            }

            public String getGoods_cate_id() {
                return goods_cate_id;
            }

            public void setGoods_cate_id(String goods_cate_id) {
                this.goods_cate_id = goods_cate_id;
            }

            public String getGoods_price() {
                return goods_price;
            }

            public void setGoods_price(String goods_price) {
                this.goods_price = goods_price;
            }

            public String getGoods_sale_num() {
                return goods_sale_num;
            }

            public void setGoods_sale_num(String goods_sale_num) {
                this.goods_sale_num = goods_sale_num;
            }

            public String getCommission_rate() {
                return commission_rate;
            }

            public void setCommission_rate(String commission_rate) {
                this.commission_rate = commission_rate;
            }

            public String getSeller_id() {
                return seller_id;
            }

            public void setSeller_id(String seller_id) {
                this.seller_id = seller_id;
            }

            public String getCoupon_id() {
                return coupon_id;
            }

            public void setCoupon_id(String coupon_id) {
                this.coupon_id = coupon_id;
            }

            public String getCoupon_apply_amount() {
                return coupon_apply_amount;
            }

            public void setCoupon_apply_amount(String coupon_apply_amount) {
                this.coupon_apply_amount = coupon_apply_amount;
            }

            public String getCoupon_amount() {
                return coupon_amount;
            }

            public void setCoupon_amount(String coupon_amount) {
                this.coupon_amount = coupon_amount;
            }

            public String getCoupon_start_time() {
                return coupon_start_time;
            }

            public void setCoupon_start_time(String coupon_start_time) {
                this.coupon_start_time = coupon_start_time;
            }

            public String getCoupon_end_time() {
                return coupon_end_time;
            }

            public void setCoupon_end_time(String coupon_end_time) {
                this.coupon_end_time = coupon_end_time;
            }

            public String getIs_tmall() {
                return is_tmall;
            }

            public void setIs_tmall(String is_tmall) {
                this.is_tmall = is_tmall;
            }

            public String getJuhuasuan() {
                return juhuasuan;
            }

            public void setJuhuasuan(String juhuasuan) {
                this.juhuasuan = juhuasuan;
            }

            public String getTaoqianggou() {
                return taoqianggou;
            }

            public void setTaoqianggou(String taoqianggou) {
                this.taoqianggou = taoqianggou;
            }

            public String getYunfeixian() {
                return yunfeixian;
            }

            public void setYunfeixian(String yunfeixian) {
                this.yunfeixian = yunfeixian;
            }

            public String getJinpai() {
                return jinpai;
            }

            public void setJinpai(String jinpai) {
                this.jinpai = jinpai;
            }

            public String getJiyoujia() {
                return jiyoujia;
            }

            public void setJiyoujia(String jiyoujia) {
                this.jiyoujia = jiyoujia;
            }

            public String getHaitao() {
                return haitao;
            }

            public void setHaitao(String haitao) {
                this.haitao = haitao;
            }

            public String getDsr() {
                return dsr;
            }

            public void setDsr(String dsr) {
                this.dsr = dsr;
            }
        }
    }
}
